package com.lh.createData.service.Impl;

import com.lh.createData.dao.MenuJumpMapper;
import com.lh.createData.model.InPutParam.MenuJumpInParam;
import com.lh.createData.service.MenuJumpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @author ：梁昊，后端工程师：梁昊
 * @create 2021-07-27 16:21
 * @function
 * @editLog
 */
@SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
@Service
public class MenuJumpServiceImpl implements MenuJumpService {
    @Autowired
    MenuJumpMapper menuJumpMapper;

    @Override
    public int deleteMenuByCreateTime(MenuJumpInParam menuJumpInParam) {
        return menuJumpMapper.deleteMenuByCreateTime(menuJumpInParam);
    }

    /**
     * 增加界面跳转暂时表
     *
     * @param menuJumpInParam com.lh.createData.model.InPutParam.MenuJumpInParam
     * @return 影响条数
     */
    @Override
    public int insertMenuJump (MenuJumpInParam menuJumpInParam) {
        return menuJumpMapper.insertMenuJump(menuJumpInParam);
    }
}
